<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>blog</title>
<link rel="stylesheet" href="__PUBLIC__/js/fontello/css/home.css">
<link rel="stylesheet" href="__PUBLIC__/js/artDiaLog/skins/black.css">
<link rel="stylesheet" href="__PUBLIC__/css/common.css">
<link rel="stylesheet" href="__PUBLIC__/css/contect.css">
</head>

<body>

<div class="sec">
	<!-- 顶部 -->
	<img id="title1" src="__PUBLIC__/images/background1.jpg" alt="">
	<img id="title2" src="__PUBLIC__/images/background2.png" alt="">
	<div class="login"><a onclick="login()" href="javascript:void(0)">登陆</a> | <a onclick="newlogin()" href="javascript:void(0)">注册</a></div>
	<p class="title">我的微博</p>
	<div class="kong"></div>
	<!-- 顶部 end -->

	<!-- 导航 -->
	<ul class="nav">
		<li class="fl">
			<p>主页</p>
			<img src="__PUBLIC__/images/yinying.png" alt="">
		</li>
		<div class="clear"></div>
	</ul>
	<!-- 导航 end -->
	
	<!-- 内容 -->
	<div class="con">
		<div class="fl left">
			<div class="left_top">
				<p class="left_top1">个人信息</p>
				<img src="__PUBLIC__/images/remove.jpg" alt="">
				<p class="left_name">我的微博</p>
				<p class="left_button"><input type="button" value="加好友"><input type="button" value="加好友"><input type="button" value="加好友"><input type="button" value="加好友"></p>
				<ul class="left_down">
					<li>访问量：<strong>9,122,671,212</strong></li>
					<li>人气：<strong>232,191,672</strong></li>
					<li>博客等级：<strong>19</strong></li>
					<li>金币:<strong>9</strong></li>
				</ul>
			</div>
			<img src="__PUBLIC__/images/yinying.png" alt="">
		</div>
		<div class="fr right">
			<div class="right_top">
				<p class="right_top1">正文</p>
				<!-- 文章 -->
				<!-- <div class="clear"></div> -->
				<div class="list">
					<div class="list_top">
						<span class="icon-bookmark"></span>
						<!-- 题目 -->
						<a class="list_title" href="#">{$list['title']}</a>
						
					</div>
					<!-- 段落 -->
					{$list['detail']}
					<!-- 底部 -->
					<div class="list_bottom">
						<div class="list_bottom_1">
							<p class="list_bottom_p1">6658</p>
							<p class="list_bottom_p2"><span class="icon-heart red"></span>喜欢</p>
						</div>
					</div>
					<div class="list_bottom">
						<i class="icon-doc-text black"></i>阅读：<strong>{$list['read']}</strong> | 
						<i class="icon-comment black"></i>评论：<strong>{$list['pinglun']}</strong> | 
						<i class="icon-plus green"></i>转载：<strong>no use</strong> | 
						<i class="icon-star yello"></i>收藏：<strong>{$list['like']}</strong>
						<div class="clear"></div>
					</div>
				</div>
				<!-- 下一篇 -->
				<div class="lnext">
					<a class="prevpage" data="{$plist['id']}" href="javascript:void(0)">上一篇： <strong><?php if(!$plist['id'])echo "没有了！";else echo $plist['title']; ?></strong><span class="icon-right-open-1"></span></a>
					<a class="nextpage" data="{$nlist['id']}" href="javascript:void(0)">下一篇： <strong><?php if(!$nlist['id'])echo "没有了！";else echo $nlist['title']; ?></strong><span class="icon-right-open-1"></span></a>
				</div>
				<div class="clear"></div>
				<!-- 文章end -->
			</div>
			<img src="__PUBLIC__/images/yinying.png" alt="">

			<!-- 评论 -->
			<div class="right_bottom">
				<p class="right_top1">评论</p>
				<!-- 评论内容 -->
				<div class="pin">
				<?php if(!$pinglist[0]['pid'])echo '<div class="nei">
						<p class="nei_1"></p>
						<p class="nei_2">还没有人评论哦，快来抢沙发吧</p>
						<p class="nei_3"></p>
					</div>'; else{ $a=0;$b=0; foreach($pinglist1 as $row){ $num=$pinglist[$a]['pid']; ?>

					<div class="nei">
						<p class="nei_1">{$pinglist[$a]['name']}</p>
						<p class="nei_2">{$pinglist[$a]['dec']}</p>
						<p class="nei_3">{$pinglist[$a]['time']}

							<?php while(1){if($num!=$pinglist[$a]['pingid']){ ?>

							<a class="fr j_hui" href="javascript:void(0)">回复</a><div class="clear"></div></p>
						<div class="huihui">
							<p>回复评论</p>
							<textarea class="pinglun"></textarea>
							<a class="j_huinow" href="javascript:void(0)" data="{$pinglist[$a]['pid']}">回复</a>
						</div>
					</div>
									<?php if(!$pinglist[$a]['pingid'])$a++;break;}else{ ?> 
						</p>
					<div class="nei">
						<p class="nei_1">{$pinglist[$a]['lname']}</p>
						<p class="nei_2">{$pinglist[$a]['ldec']}</p>
						<p class="nei_3">{$pinglist[$a]['ltime']}

								<?php  $a++;$b++;}}for(;$b>0;$b--)echo "</div>"; ?>

				<?php }} ?>
					<!-- 翻页 -->
					<!-- <div class="nei">
						<p class="nei_1">不明真相的王涛</p>
						<p class="nei_2">哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈</p>
						<p class="nei_3">2011 - 11 - 11  :  time <a class="fr j_hui" href="javascript:void(0)">回复</a><div class="clear"></div></p>
						<div class="huihui">
							<p>回复评论</p>
							<textarea class="pinglun">评论</textarea>
							<a class="j_huinow" href="#">回复</a>
						</div>
					</div> -->


					<div class="fan">
						<!-- <input type="button" value="下一页">
						<p class="fr"><span>1</span><span>2</span><span>3</span>... ...<span>40</span></p>
						<input type="button" value="上一页">
						<div class="clear"></div> -->
					</div>
					<div class="clear"></div>
				</div>
			</div>
			<img src="__PUBLIC__/images/yinying.png" alt="">
			<!-- 评论 -->

			<!-- 发表评论 -->
			<div class="fa">
				<p class="right_top1">发表评论</p>
				<textarea class="pinglun j_ping1"></textarea>
				<p></p>
				<p class="fa_now"><span class="j_fa">发评论</span></p>
				<div class="clear"></div>
					<div class="nei newnei" data="{$list['id']}">
						<p class="nei_1" id="nei_1"></p>
						<p class="nei_2" id="nei_2"></p>
						<p class="nei_3" id="nei_3"><a class="fr j_hui" href="javascript:void(0)">回复</a><div class="clear"></div></p>
						<div class="huihui">
							<p>回复评论</p>
							<textarea class="pinglun"></textarea>
							<a class="j_huinow" href="javascript:void(0)">回复</a>
						</div>
					</div>
			</div>
			<img src="__PUBLIC__/images/yinying.png" alt="">
			<!-- 发表评论 end -->
		</div>
	</div>
	<!-- 内容 -->
</div>	

	<div class="login1" id="login" style="display:none">
        <p>用户名：<input class="name1" type="text" ></p>
        <p>密码：<input class="pwd1" type="password"></p>
        <input onclick="loginnow()" type="button" value="登陆">
        <input onclick="newloginnow()" type="button" value="注册">
    </div>

    <div class="login1" id="login2" style="display:none">
        <p>用户名：<input class="name2" type="text" ></p>
        <p>密码：<input class="pwd2" type="password"></p>
        <input onclick="newloginnow()" type="button" value="注册">
    </div>

<script src="__PUBLIC__/js/jquery-1.11.3.min.js"></script>
<script src="__PUBLIC__/js/artDiaLog/artDialog.js"></script>
<script src="__PUBLIC__/js/contect.js"></script>
</body>
</html>
